News for hackers. Stuff that matters.

anuragpeshne

Re:Ask HN: How to monitor a sea fiber cable? on Thursday July 28, 2022 @03:24PM (#32269022)
Do have any details about the compute or how they do it?

Ask HN: How to monitor a sea fiber cable?

Recently there was a news[0] about how a national intelligence agency tried to monitor data transmitted via a sea fiber optic cable called SAFE[1] on a foreign country.Keeping aside the politics, is it feasible to monitor and sniff data out the sea fiber directly?Wikipedia says the cable transmits data at 440Gb/s. So I'm assuming they cannot store a large portion of the data for future...

( Read More... | 3 comments | 4 points | on HN )
Re:Tiny websites are great on Monday May 18, 2020 @09:29PM (#23230393)
Why not go a step ahead and host it on a raspberry pi from your home. Then one could copy the text file directly to the public folder or create the file in the rpi itself.

Ask HN: How do you learn a new programming language

If you already know couple of popular languages such as Python, Java, C and you want to start learning a new language, say Elixir, how would you start.Would you go bottom up: follow a book or online tutorial and start from very basics. Or would you top down: start with a project and then lookup how to do things.

( Read More... | 2 comments | on HN )
Re:Show HN: Piece by Piece introduction to Vim on Saturday June 17, 2017 @02:51PM (#14577169)
Hello, thanks for the comment, as you can see, it is tough to get sincere feedback.

I agree with you that there are tons of other Vim tutorials. None of them really clicked with me, I wanted to write about Vim "my way". And I'm not claiming my way is better than other's but there might be someone who might like my version and start using Vim. I've written short piece which are intended to be consumed in one sitting, and ideally one part every day. My aim is to help user to gradually replace his editor with Vim without significant loss of productivity. For this, I'm writing about stuff bottom up, each part builds upon previous or if two parts are unrelated, the third part will sit on top of those two. And lastly, I'm not trying to cover every command or trick, just enough to get them started and proficient enough to help themselves.

I strongly agree with your other comment too: studying keymaps doesn't make anyone learn Vim, it's the struggle, the agony which rewires the brain. But I think that's the most anyone can do to teach. Amaze someone with power of Vim, and leave him motivated enough to do the hard work. You cannot, especially through a blog, force someone to do labor. But I liked your idea of making reader do something and later point out that it could have been done in a more efficient way. Maybe I'll add some exercises.

Yes, I'm aware of that project. Unfortunately, it is not open source or free to use. Additionally, it is fun to have your own project.

Ask HN: What is so great about Lisp that makes Emacs powerful?

I'm new to Emacs and I've read at several places that Emacs is a lisp machine and that Lisp is the main reason behind its power. There are several other text editors which are scriptable, then what is so special about Lisp and Emacs.P.S: I'm a avid Vim user and I have written couple of extensions for it. It may be easier to understand if the answer provides analogies to Vim and Vim script.

( Read More... | 6 comments | 4 points | on HN )
Re:Show HN: Convoy's Game of Life in Browser on Friday May 29, 2015 @02:55AM (#9623130)
Unfortunately no, I don't have an iOS device. Maybe I'll get one by the time you issue the final version.
Thanks, "I would not call it a recursive function just because it calls itself; I'd call it a self-referencing function." - this cleared a lot of things. I'll a write an answer based on this and other things that I read. This will help someone someday.

If a callback calls the enclosing function, would it be called a recursive call?

I asked this question[1] on stackoverflow but could not get any convincing answer:http.request(options, function(res) { res.on('data', function(chunk) { data+=chunk; }); res.on('end', function(){ //do some stuff http.request(options, function(res) {...});//is this recursive? }); }).end();Or a simpler case: suppose there is a function which reads a file character by...

( Read More... | 3 comments | 2 points | on HN )