Better HN
topnewbestaskshowjobs
Log inSign up

jesusprubio

30 karma · joined May 26, 2019 (7y ago) · 25 submissions

Submissions

1.

First Strapi Plugin(dev.to ↗)

1 points · by jesusprubio · 6y ago · discuss

2.

Exhaustive checklist to assist in security reviews of Node.js web services(github.com ↗)

1 points · by jesusprubio · 7y ago · discuss

3.

Delightful Node.js packages for pentest, exploit, reversing, crypto(github.com ↗)

1 points · by jesusprubio · 7y ago · discuss

comment 7y ago · link · parent

Thank you for the feedback. It's only my first crate I wrote to learn about the environment. It emulates more or less this one in Node.js a lot of people uses: https://github.com/sindresorhus/is-online

I wanted to implement it in this way. But I'm waiting for async/await, it should be trivial with a map function or something similar. But now it already tries a fallback connection if the first one fails.

Good point about the countries, I need to add an issue to cover it.

comment 7y ago · link · parent

Launching a distributed attack by publishing a crate which makes one request? XD

You can relax, I know how they work. My final year project was about DoS. I would send you the link but it's Spanish.

But I can say you I've written a tool to implement this vector (among others) against VoIP services and it was presented even at the BlackHat conference.

comment 7y ago · link · parent

BTW, there're parts of DNS over TCP.

comment 7y ago · link · parent

Thank you! Very interesting thoughts, adding them to the repo here:https://github.com/jesusprubio/online/issues/7

Please feel free to contribute ;).

comment 7y ago · link · parent

Agree, answered in other comments but the idea is I truly believe in this micro modules way of building things. If it reduces complexity it's welcome. :)

comment 7y ago · link · parent

It's only my first crate I made to learn about the environment.

But I truly believe in this micro modules way of building things. If it reduces complexity it's welcome. :)

comment 7y ago · link · parent

About the first page of HN I agree, it's crazy xD. I wrote it as my second crate to learn about the environment.

But I truly believe in this micro modules way of building things. If it reduces complexity it's welcome. :)

comment 7y ago · link · parent

Obviously, you're right. And I can imagine any developer can imagine the same thing :).

But I couldn't find a better way to check if I am online than making a request to any server. In fact, I'm using two over different protocols just in case.

comment 7y ago · link · parent

About the option to pass other services I agree, answered here: https://news.ycombinator.com/item?id=20028483

About DoS attack, I think you need to review how those work, the library is not implementing amplification or something similar.

comment 7y ago · link · parent

Couldn't agree more, thank you! :)

comment 7y ago · link · parent

This why we're called engineers, we put pieces together.

So, your solution to "left-pad" is to write all your own code? xD. I think you need to review what was the problem there.

About the support to different services, those are the ones I use in my applications. But you are right, it would be a nice feature. PR's are welcome by the way ;).

The same about IPv6 support, this is an important feature.

Added both as issues: - https://github.com/jesusprubio/online/issues/5 - https://github.com/jesusprubio/online/issues/6

comment 7y ago · link · parent

An open minded in the forum? I can't believe.

Thank you! :)

comment 7y ago · link · parent

The third one is to use `print!` instead of `println!` to keep the cursor in the same line.

Thank you for the feedback!

comment 7y ago · link · parent

Please, see this response: https://news.ycombinator.com/item?id=20028428

Thank you for the feedback.

Thinking in a CLI, do you think the timestamp is important? I also had this doubt, but it only bothers me.

comment 7y ago · link · parent

Please, see this response: https://news.ycombinator.com/item?id=20028428

Thank you for the feedback.

comment 7y ago · link · parent

You're right, being discussed in other places right now. Finally, changing the description to clarify that the goal is to be used in CLIs, not as a logger.

I prefer to keep lower complexity and there are some crates that cover that case better.

Thank you :).

20.

Show HN: Leg – Simple, elegant logging for Rust(github.com ↗)

29 points · by jesusprubio · 7y ago · 17 comments

21.

Show HN: Rust Library to check your Internet connectivity(github.com ↗)

41 points · by jesusprubio · 7y ago · 37 comments