HNHacker News
TopNewBestAskShowJobs

stockkid

1,471 karma · joined October 22, 2014

submissionscomments
stockkid··on Show HN: Rogg – I built a Rust BGP speaker and run a live AS on DN42
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.

stockkid··on Show HN: Tru – An Esoteric Language with Brackets
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)><><><>><>>>><<
stockkid··on Ask HN: Top Coursera Courses?
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.
stockkid··on Ask HN: What is the best money you have spent on software?
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.
stockkid··on Ask HN: How do you manage your plain text notes
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.
stockkid··on Ask HN: How do you find new music?
For me, Spotify's personalized recommendations (e.g. discover weekly, release radar) have been quite consistent in quality.
stockkid··on Ask HN: How do you manage your plain text notes
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.

stockkid··on Ask HN: How do you manage your plain text notes
> 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.

stockkid··on True random number generation (TRNG)
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?

stockkid··on Estonia is launching a new Digital Nomad Visa for remote workers
Could you elaborate how that might be the case? Is the argument that the $10 will somehow trickle down into the local economy?
stockkid··on Show HN: Hacker News front page in the style of a print newspaper
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.
stockkid··on Ask HN: Thoughts on new GitHub layout?
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.

stockkid··on Ask HN: What are your go to SaaS products for startups/MVPs?
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.
stockkid··on Show HN: My first Android App – order-taker for family company that sells wood
Congrats on shipping and thanks for sharing the code. What makes you open source it?
stockkid··on I gave away my books and sales increased
Hi Jeff, interesting statistics. Your Ansible book has been a great resource to me. Thanks for writing it.
stockkid··on The Graham-Blumenthal Bill: A New Path for DOJ to Finally Break Encryption
Interesting, could you elaborate what section 230 immunity entails?
stockkid··on Ask HN: Personal Dashboard?
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.

stockkid··on Ask HN: Personal Dashboard?
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.
stockkid··on GitHub CLI is now in beta
Yeah, Hub is such a valuable tool for automating common tasks on GitHub such a releasing. Hopefully GitHub CLI will maintain a feature parity with Hub so that people can transition smoothly if needed.
stockkid··on Show HN: I made a command line notebook with multi device sync
It's a static site made with Hugo [0] without any theme. The CLI is free so feel free to try. Thanks.

- [0] https://github.com/gohugoio/hugo

stockkid··on Ask HN: How to evolve or sustain open source?
I feel that as a community, we could grow to appreciate the fact that there are actual human beings maintaining an open source project and they do not owe anything to the users. Such appreciation could help alleviate:

> People (especially maintainers) getting burned out

stockkid··on Show HN: Userbase – Add user accounts and persistence to your static site
Congrats on shipping. The site looks slick and loads fast. What made you choose the MIT license for your product over other licenses?
stockkid··on Best Linux Laptop in 2020?
That's a great laptop. Just curious, what sort of thermal modifications did you perform, and why were they necessary?
stockkid··on Fortran.io – a Fortran Web Framework
Heads up to op-the website is giving 502 bad gateway.
stockkid··on Show HN: Nebula – a distributed graph database written in C++
Another approach I have seen is BSL (Business Source License), which is kind of like Commons Clause in that it prohibits commercial offerings of the software, but after a rolling time limit, converts to an open source license. I might be wrong, so please correct me.

https://www.cockroachlabs.com/blog/oss-relicensing-cockroach...

stockkid··on Ask HN: Are you 'crisp' enough to describe your startup idea in 2-4 words?
I think A and D are too abstract.
stockkid··on How I make $400/month with my technical eBook
> Record a video for each chapter and then offer that at a (much) higher price point.

Thanks for sharing. For technical topics, I think reading is much faster and reliable because readers can skim and also copy code. I'm curious why it might be effective to produce a video and price it higher?

stockkid··on HTML attributes to improve your users' two factor authentication experience
> In a sign up form, make sure to use the "new-password" value as it triggers password suggestions in some browsers.

Nice. I didn't know about that.

stockkid··on Ask HN: How many of you are rolling your own auth?
While using third party services for Auth can save time at the beginning, outsourcing such a fundamental part of the system to someone else's business seems to me a risky option.
stockkid··on Ask HN: Build or Sell?
The two options do not seem to be mutually exclusive.
Page 1 of 11Next →