HNHacker News
TopNewBestAskShowJobs

e19293001

1,554 karma · joined November 30, 2013

my user name at gmail.com
submissionscomments
e19293001··on One Year of TILs
This is somewhat similar to Zettelkasten[0] which is a way to take note.

Here's a quote from the book "How to Take Smart Notes" by S. Ahrens[3]:

Notes build up while you think, read, understand and generate ideas, because you have to have a pen in your hand if you want to think, read, understand and generate ideas properly anyway. If you want to learn something for the long run, you have to write it down. If you want to really understand something, you have to translate it into your own words. Thinking takes place as much on paper as in your own head.

One of the differences is perhaps Zettelkasten notes does not necessarily linked by topics. Instead, notes in zettelkasten are linked by tags[1]. Another diference is separating bibligraphical notes and permanent notes[2]. Explaining it in your own words is the best to make it stick in your head. Linking ideas by topics and objects may lead into your own new ideas.

[0] - https://en.wikipedia.org/wiki/Zettelkasten

[1] - https://web.archive.org/web/20210126003640/https://zettelkas...

[2] - https://web.archive.org/web/20210423224947/https://zettelkas...

[3] - https://books.google.com.ph/books/about/How_to_Take_Smart_No...

e19293001··on Show HN: The Living Box – DIY indoor farming
While the current pandemic is not yet over, there is an ongoing hype in hydroponics (soiless planting) right now. There are a lot of guides from books, youtube, reddit, facebook groups, blogs, etc. Its so much easy to automate this indoor or outdoor. People in the future will obtain free food at home. And large companies will exploit this.
e19293001··on Ask HN: How do you organize your knowledge?
Since you mentioned emacs. Have you tried org-roam?
e19293001··on Ask HN: How Do You Optimize Your Intake of Information?
I just started using zettelkasten method using org-roam. Since I just got started, my notes are not big yet. But it's amazing experience for me, that writing what I've just read in my own words made it stick longer rather than just reading without writing about it. Before I started using zettelkasten, I read the book How to Take Smart Notes by Sönke Ahrens. Then applied what I read.

Currently, I'm learning deep reinforcement learning and I have to deal with computer programming and mathematical equations in my notes. Fortunately, emacs org-mode supports org-babel, latex and latex fragments. My learning got better with this experience.

The disadvantage is that the learning curve using emacs and org-mode is steep unless you use emacs and org-mode every day.

https://en.m.wikipedia.org/wiki/Zettelkasten

e19293001··on PostScript Language Reference (1999) [pdf]
For those who are interested in playing around with printer vulnerabilities[0], a lot of them had been scanned by shodan[1].

[0] - http://hacking-printers.net/wiki/index.php/Main_Page

[1] - https://www.shodan.io/search?query=HP+printer

e19293001··on Ask HN: To which FOSS projects will you donate a little something?
Please consider donating to the GNU project.

https://www.gnu.org/software/

If your using linux, your using GNU as well.

e19293001··on PRET – Printer Exploitation Toolkit
A lot of printers are still exploitable.
e19293001··on Parsing RISC-V assembly
Yes. If basic assembler.

No. If you're going to implement an assembler that supports constants and symbols which can be combined into expressions. And expressions can easily be parsed for example[0]:

    〈primary expression〉->〈constant〉|〈symbol〉|〈local operand〉|@|
                        (〈expression〉)|〈unary operator〉〈primary expression〉
    〈term〉->〈primary expression〉|〈term〉〈strong operator〉〈primary expression〉
    〈expression〉->〈term〉|〈expression〉〈weak operator〉〈term〉
    〈unary operator〉-> + | − | ~ | $ | &
    〈strong operator〉-> * | / | // | % | << | >> | &
    〈weak operator〉-> + | − | | | ^
Your code might be hard to read if you'll not create a parse tree for it.

[0] - http://www.mmix.cs.hm.edu/doc/mmixal.pdf

e19293001··on Org Mode's new site
Not if you use it daily. In my experience, I forced myself to use it everyday. And now, I can't work without it.
e19293001··on Ask HN: How did you learn functional programming?
Study lambda calculus first.

An Introduction to Functional Programming Through Lambda Calculus

Book by Greg Michaelson

It's amazing it was published 31 years ago (1989) which shows that it's a timeless book to read.

This has been referenced from discussions a couple of times:

https://news.ycombinator.com/item?id=6093386

https://news.ycombinator.com/item?id=3851352

https://news.ycombinator.com/item?id=11578961

https://news.ycombinator.com/item?id=10714770

https://news.ycombinator.com/item?id=773369

https://news.ycombinator.com/item?id=16973546

https://news.ycombinator.com/item?id=14395620

https://news.ycombinator.com/item?id=13211603

To quote a SO answer on why learn lambda calculus[0]:

If you want to program in any functional programming language, it's essential. I mean, how useful is it to know about Turing machines? Well, if you write C, the language paradigm is quite close to Turing machines -- you have an instruction pointer and a current instruction, and the machine takes some action in the current state, and then ambles along to the next instruction.

In a functional language, you simply can't think like that -- that's not the language paradigm. You have to think back to lambda calculus, and how terms are evaluated there. It will be much harder for you to be effective in a functional language if you don't know lambda calculus.

[0] - https://stackoverflow.com/questions/114581/how-helpful-is-kn...

e19293001··on Ask HN: What are some skills you have that are worth learning?
Learn how to use emacs. Next learn how to use org-mode.
e19293001··on Tiny C Compiler
For someone who wanted to read more about Fabrice Bellard.

https://web.archive.org/web/20110726063943/http://www.freear...

e19293001··on Zettelkasten note-taking in 10 minutes
Thank you for mentioning org-mode. I was actually finding a good set-up. You're comment leads me to this blog[0] that I end-up following this set-up which is quite very simple.

On the other hand, I recently saw a lot of Zettelkasten articles. I'm not sure if its been hyped but I still would like to give it a try. When I found emacs, I gave it a try (it was hard) and eventually I begin to like it because of its tons of features. When I found org-mode, I gave it a try and then I like it and use it everyday. When I found org-babel, I gave it a try and then I like it. When ... ... ...

I hope more people would like to try emacs and org-mode. I know: learning at first is pretty hard. My advise it just to use it everyday. I remember I uninstalled notepad++ from my PC in order to force my self to use emacs. It took a month for my brain to be comfortable using emacs.

[0] - https://dpitt.me/blog/2020/03/zettelkasten/

e19293001··on C Internals
For those who are interested to hone their skills in translating C to assembly language just for the sake of grokking a C compiler, you might want to read this book:

Assembly language and computer architecture using C++ and Java Book by Anthony J. Dos Reis

From book's description:

Students learn best by doing, and this book supplies much to do with various examples and projects to facilitate learning. For example, students not only use assemblers and linkers, they also write their own. Students study and use instruction sets to implement their own. The result is a book that is easy to read, engaging, and substantial.

I'm not affiliated with the author though. This book helped a lot in my career as a hardware and firmware engineer.

It talks about not only C language but C++. You'll be able to translate a C++ class into assembly language by hand. The drawback is that you'll learn a hypothetical CPU but the concepts are still the same with the real world CPU. C internals could supplement it as well.

e19293001··on Improve your walking technique
Might help.

https://www.reddit.com/r/running/comments/ba4zii/can_we_talk...

e19293001··on ACM Prize in Computing Awarded to AlphaGo Developer
Congratulations David Silver! I am currently learning Reinforcement Learning, as a coincidence I am watching David Silver's Introduction to Reinforcement Learning[0]. He explains it very clearly. I would recommend it for those who want to start to learn RL. Thank you David! Excellent!

[0] - https://www.youtube.com/playlist?list=PLqYmG7hTraZDM-OYHWgPe...

e19293001··on Ask HN: What are some books where the reader learns by building projects?
books by this author: http://cs.newpaltz.edu/~dosreist/

Assembly Language and Computer Architecture Using C++ and Java , Course Technology, 2004

Compiler Construction Using Java, JavaCC, and Yacc, IEEE/Wiley, 2012

e19293001··on My productivity app for the past 12 years has been a single .txt file
I had been following some of the set-up from "Org Mode - Organize Your Life In Plain Text!"[0].

[0] - http://doc.norang.ca/org-mode.html

e19293001··on Ask HN: Would you use an app that could help you tackle your many interests?
I need to learn a new skill. The problem I have is building a habit to learn that skill in which I should do that habit everyday.
e19293001··on Tricks to start working despite not feeling like it
I'd like to share this post[0]:

The last two weeks I made it a goal to run 5km every morning. A few times, particularly today, I felt lazy and run down, but I got out of bed anyway and told myself that I'll at least walk. The next thing I know I'm running and feeling amazing and on to set one of my better times.

The point: When you tell yourself "just one more game" or "just one more post", or "just one more video" and end up doing 3-5 hours more, do that with your other tasks too! "just one line of code", "just one tutorial", "just one rep", "just one line of reading/writing".

We all have this amazing mental tool that we've been honing for years, the tool of self deception. Time to use it for good and not evil.

Copied from: [0] - https://www.reddit.com/r/productivity/comments/cdir3g/trick_...

e19293001··on Reverse engineering course
I started with these series of tutorials:

https://tuts4you.com/e107_plugins/download/download.php?list...

Purely hands-on. Old school. Use virtual box.

e19293001··on C Compiler from Scratch
github repo is very active: https://github.com/javacc/javacc
e19293001··on C Compiler from Scratch
Compiler Construction Using Java, JavaCC, and Yacc Book by Anthony J. Dos Reis

Uses similar approach with much more details on theory and implementation. I learned so much from this book. It teaches you to write a hand written compiler and by using tools like javacc/yacc as well. But I really love how the author explains the knots and bolts on creating a hand written compiler. Get this book if you're interested in creating your own parser/compiler/interpreter. Improve your programming skills by answering the exercises at the end of each chapter. I promise, you'll learn so much from this book. Good luck.

e19293001··on Deep Learning with PyTorch
Grokking Deep Learning - while it teaches the very basics of deep learning, it claims to teach you basic PyTorch at the end of the book.

https://www.manning.com/books/grokking-deep-learning

e19293001··on GNU Compiler Collection Internals [pdf]
Best book in my opinion: Compiler Construction Using Java, JavaCC, and Yacc, IEEE/Wiley, 2012

Please look at my past comments[0][1].

After that, read the Dragon Book as others had recommend. It would be smooth read after reading the first one.

[0] - https://news.ycombinator.com/item?id=18996703

[1] - https://news.ycombinator.com/item?id=10184364

e19293001··on Ask HN: How to learn to write a compiler and interpreter?
I think this book suits your situation and I've been into that!

Compiler Construction Using Java, JavaCC, and Yacc, IEEE/Wiley, 2012

Get this book. Please. __I promise__. You'll be able to grok compilers after reading and answering the exercises from this book.

We can talk further by sending me an email (see my profile).

Here's my previous comment somewhere in HN:

I bet this is what you are looking for: https://www.amazon.com/Compiler-Construction-Using-Java-Java....

This book taught me how to write a compiler and build a programming language of my own.

To answer you question "where and how did you start?": This is where I started learning about compilers and programming language implementation.

Here is its description from its website:

* Comprehensive treatment of compiler construction.

* JavaCC and Yacc coverage optional.

* Entire book is Java oriented.

* Powerful software package available to students that tests and evaluates their compilers.

* Fully defines many projects so students can learn how to put the theory into practice.

* Includes supplements on theory so that the book can be used in a course that combines compiler construction with formal languages, automata theory, and computability theory.

What I promise you with this book: You'll learn how to write your own programing language. Not only how compilers and about the language but also about computer architecture. This book is very easy to read and understand. It starts with very basic topics then slowly building from it until you'll grok implementing the language given the specification. You'll have the chance to build a compiler from scratch or by using JavaCC and Yacc.

e19293001··on Gamma error in picture scaling
Could you please provide a good reference for implementing Lanczos-5?
e19293001··on Ask HN: What linux desktop tools/apps boosted your productivity?
Emacs org-mode[0]

From the website's description:

Org mode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system.

I just copied some of the set-up from here[1]

[0] - https://orgmode.org/

[1] - http://doc.norang.ca/org-mode.html

e19293001··on Ask HN: What is the one habit that you adopted and it changed your life?
That's interesting. I'd like to learn how to do transcendental meditation. Could you please site some good references for me to learn how to do it?
e19293001··on Phrack Magazine (1985-2016)
After reading the "smashing the stack for fun and profit", I got interested in reverse engineering. The most fun tutorial was from lena151[0]. ARTeam had published several papers for beginners and advanced reverse engineers. Deroko who was a member of the ARTeam had published an article about PEB hooking[2] and was sited from phrack[1]. I miss hacking and reverse engineering. I would like to go back to those times if time would allow me to do so. Sometimes, I end up reading this article[3] again and again.

[0] - https://tuts4you.com/e107_plugins/download/download.php?list...

[1] - http://www.phrack.org/issues/65/10.html

[2] - https://www.exploit-db.com/ezines/kr5hou2zh4qtebqk.onion/ART...

[3] - http://phrack.org/issues/7/3.html

← PreviousPage 2 of 8Next →