News for hackers. Stuff that matters.

stockkid

Hi everyone, as a software engineer, I wanted to know more about networking and BGP. So I started implementing BGP about two years ago. But it stalled at a message parser, because I had too much knowledge gap. I stopped. But late last year, I started again, this time with AI. I studied up the RFCs, designed the architecture and Claude did most of typing. I read every RFC and every code, which is where learning happened.

7 months later, it's live and I'm running AS4242423930 on dn42, carrying the full routing table (~2k prefixes) with two eBGP peers. I'm also running two "POPs" in US east and west coast, running iBGP. It doesn't actually program routes to kernel yet (it's just a speaker). I figured it's enough for route servers or software controllers that don't actually forward packets.

As for the project, what I wanted to focus on was observability. This natively emits operational metrics as CloudWatch EMF (for AWS), JSON (for other Cloud), and also Prometheus. Memory-safety and efficiency were also the goal (Rust). And the project is actually not just BGP, but a routing stack. Because I'm also curious about protocols other than BGP.. So I'll implement more routing protocols as I continue learning more. I named it Rogg ("Routing, gg") which consists of bgpgg ("BGP, gg") and ggsh ("gg shell"). I grew up a gamer and couldn't resist. Thanks for checking it out.

Re:Show HN: Tru – An Esoteric Language with Brackets on Wednesday February 24, 2021 @04:28AM (#26248202)
Hi everyone, I wanted to share a language I made that only uses a series of bracket characters. All operations are prefix-free, meaning one can follow another without ambiguity.

The following program prints "Hello, world!"

  (0)(10)(33)(100)(108)(114)(111)(119)(32)(44)(111)(108)(108)(101)(72)>><<[<><>><<>><<]>>><<
The following prints 25th Fibonacci number:

  (1)(25)(1)><>(1)(0)><>(1)>>>>>><<[(0)><>(1)>>>>>><<[>><>(1)><>>><<(0)><>>>><>(1)><><<<>><>>>><>(0)><>>><>(1)>>>>>><<](0)](1)><><><>><>>>><<
Re:Ask HN: Top Coursera Courses? on Monday November 30, 2020 @04:19AM (#25252090)
Same. Having finished the course years ago, I remember most vividly the following: never implement your own crypto. Not many details survived the time but it was intellectually rewarding.
Re:Ask HN: What is the best money you have spent on software? on Wednesday November 18, 2020 @04:01PM (#25142390)
Interesting point. While I sympathize with the cause, I personally wouldn't find it the best money spent, had I donated, because it is impossible to measure the impact of the money spent.
Re:Ask HN: How do you manage your plain text notes on Saturday November 14, 2020 @06:57PM (#25096793)
Thanks for the compliment. It is possible to use any other methods to synchronize notes because Dnote stores everything in a single SQLite file. The dedicated server becomes useful for providing a web interface and API access to the notes.
Re:Ask HN: How do you find new music? on Saturday November 14, 2020 @04:59AM (#25091269)
For me, Spotify's personalized recommendations (e.g. discover weekly, release radar) have been quite consistent in quality.
Re:Ask HN: How do you manage your plain text notes on Friday November 13, 2020 @11:54PM (#25090392)
Adding lines such as "topic:..." sounds like a very useful and low key solution. I might start trying that. Thanks.

You can use Dnote web app on the phone to do full text search and list notes by book. You can also install the website as a progressive web app for usability.

On the downside, using this web interface subjects users to a third party system (albeit open source) and forces them to give up the autonomy that they enjoy by simply using plaintext files.

Re:Ask HN: How do you manage your plain text notes on Friday November 13, 2020 @06:07PM (#25088644)
> I tag each text file with topic, date and context keywords.

Nice idea. How are you doing that? Also, do you version control your notes?

> What does not work great is on the phone

I maintain an open source project called Dnote (https://github.com/dnote/dnote) which solves this problem for you. It's basically a command line notebook using SQLite + a mobile friendly web interface to which you can sync your notes.

Agree with you that we should avoid being locked into a proprietary formats or platforms. Businesses and platforms come and go, but our notes should stay as readily accessible as possible.

Re:True random number generation (TRNG) on Thursday July 16, 2020 @08:55PM (#23865774)
Nice work.

1. What do you mean by "true random"? Aren't the bits generated by a hardware pseudo random at best?

2. Why and how should users trust the randomness of a third party solution that they do not control or see the implementation of?

Could you elaborate how that might be the case? Is the argument that the $10 will somehow trickle down into the local economy?
Very nice. What I liked about it is that thumbnails to the article allows readers to skim through the list more quickly and still understand more clearly what they are about.
Re:Ask HN: Thoughts on new GitHub layout? on Wednesday June 24, 2020 @10:22PM (#23636235)
Personally I have noticed some changes, but nothing that impacted my productivity in any significant way, and paid no more attention.

I believe sometimes we tend to overreact to certain changes that have minimal impact on our lives, because of our attachments to the tools. For instance, on HN, we seem to get a sea of "That's it I'm moving to Firefox/GitLab/etc.." comments often when their counterparts change something. Sometimes those reactions seem warranted, and in this case, not really.

Beanstalk is cool. Just curious, in what ways could it be more simplified? I think we can already just upload our code and forget about it. It could be that I am missing something.
Congrats on shipping and thanks for sharing the code. What makes you open source it?
Re:I gave away my books and sales increased on Monday May 04, 2020 @07:39PM (#23074666)
Hi Jeff, interesting statistics. Your Ansible book has been a great resource to me. Thanks for writing it.
Interesting, could you elaborate what section 230 immunity entails?
Re:Ask HN: Personal Dashboard? on Wednesday February 19, 2020 @10:19PM (#22372416)
Thanks for sharing, I didn't know that.

Good to know that the owners are "pretty cool and nice" but that is orthogonal to the point.

> They also have an option to destroy all the data they have on you.

Unless open source, the users never know if the data is destroyed or not. Furthermore, it is impossible for the users to verify the checksum of software running on the server side. Therefore on-premise install could be a nice solution.

Re:Ask HN: Personal Dashboard? on Monday February 17, 2020 @12:31AM (#22345806)
Looks like a cool service but sounds somewhat off-putting in that they will have all those data about my behavior. Maybe it would be cool to be able to self-host.

Older »