HNHacker News
TopNewBestAskShowJobs

pbardea

164 karma · joined November 30, 2011

https://x.com/pbardea https://www.linkedin.com/in/pbardea https://github.com/pbardea forging ci compute @ blacksmith.sh
submissionscomments
pbardea··on 1D Chess
If it's black's move then yep! The king is not in check and it cannot move right otherwise it's in check by the knight and it cannot take left since it'll be in check by the rook.
pbardea··on Do Things That Don't Scale (2013)
It's easier to figure out a way to scale something that is working than trying to fix a scalable approach that's falling flat.
pbardea··on Designing accessible color systems (2019)
When I first read this post, I remember wanted to play around with the tooling they described in the post so tried to throw something together: https://github.com/pbardea/lab

[Disclaimer: it was a JS project from 5 years ago so no idea if it still builds]

pbardea··on We're Losing Our Love of Learning and AI Is to Blame
The structure of a university program are also not really conducive to exploratory learning as well. Perhaps not always the case, but in my experience (especially in the latter years) was that my time & energy was entirely consumed by completing assignments, exams, etc.

I had much more time to explore my own interests after university.

pbardea··on Lume: The Robotic Lamp
looks like it'd be a killer product
pbardea··on Reverse engineering GitHub Actions cache to make it fast
Also might be worth checking out our sticky disks for your use-case: https://github.com/useblacksmith/stickydisk. It can be a good option for persisting artifacts across jobs - especially when they're larger
pbardea··on How we built a logging platform for GitHub Actions with ClickHouse
Hey all - I’m one of the engineers that worked on this, happy to answer any questions!
pbardea··on We built a logging platform for GitHub Actions with ClickHouse
We totally agree! And we think there's a lot more opportunity here to make this a much better experience - it's an area that's definitely been underserved.
pbardea··on Show HN: Superblocks – IDE for Internal Apps, APIs and Cron Jobs
(Disclaimer: I’m an engineer at Superblocks)

Interesting point. Personal opinion here - I do not think that drag and drop is only for non-developers. A great example of this is the gaming industry in Unity/Unreal engine. These tools are effectively low-code but also incorporate drag and drop to allow developers to build whatever they can imagine but faster. Drag and drop should be an extension to the developer’s arsenal, not be the only way a developer can interact with the system.

pbardea··on Show HN: Superblocks – IDE for Internal Apps, APIs and Cron Jobs
Yep - it's the latter! You can self-host an instance of the OPA and configure your organization to point to that instance rather than the cloud hosted one. Our docs have a bit more detail: https://docs.superblocks.com/on-premise-agent/deployment
pbardea··on Show HN: Superblocks – IDE for Internal Apps, APIs and Cron Jobs
(Superblocks developer here)

Component reuse is something we are tackling on our end. We are working on a custom components feature so that you can bring your own components to Superblocks and reuse them across applications. Would that help replace some of the heavyweight tools you currently prefer to build in React?

pbardea··on ICMP, Ping, and Traceroute – What I wish I was taught (2020)
I love these types of practical approaches to networking. At least for me, I think it's the clearest way to learn about these things (rather than just read about them). Would have certainly made my university networkings course much more clear!

That's what made Crafting Interpreters[0] so compelling to me. Does anyone know any similar resources for networking?

[0] https://craftinginterpreters.com/

pbardea··on Swift Proposal: Move Function
Are there existing tools that help debug compiler time properties (e.g. reference counting) easily? I know of many interactive debugging techniques for investigating runtime errors, but when I'm faced with a compiler error it seems like the best interface I have is just an error message and then meticulously reading the code. I'd find something like that really useful for type-related errors too.

Even something as simple as breakpoints and printlns let me inspect the intermediary state of these systems.

pbardea··on Build Pong in Your Terminal with Go for Some Reason
I always love projects that build from nothing and go step-by-step to build something more complex. Reminds me of one of my favorite posts of a similar style building out "Metaballs" with different algorithms: http://jamie-wong.com/2014/08/19/metaballs-and-marching-squa....

Nice work!

pbardea··on Soft deletion probably isn't worth it
One interesting feature that some DBs implement is something like SELECT AS OF SYSTEM TIME (https://www.cockroachlabs.com/docs/stable/as-of-system-time....) which _kinda_ does this.

However in practice this usually dramatically slows down reads if you have to constantly skip over the historic rows so you probably don't want to keep garbage round longer than absolutely necessary. The concept of a historic table mentioned below could be interesting though - especially if it could be offloaded to cold storage.

pbardea··on Soft deletion probably isn't worth it
> assuming the deletes are done appropriately

This is one gripe I have with soft-deletion. Since I can no longer rely on ON DELETE CASCADE relationships, I need to re-defined these relationship between objects at the application layer. This gets more and more difficult as relationships between objects increase.

If the goal is to keep a history of all records for compliance reasons or "just in case", I tend to prefer a CDC stream into a separate historical system of record.

pbardea··on RSS is back as an underpinning to SlackOps
Funny seeing this pop-up on my #hacker-news slack channel that periodically polls for the top stories :)

I actually prefer the ability to push things like the top stories of the day to me through either Slack on email rather than having the temptation to constantly refresh an RSS feed app. An added bonus is that I frequently add some custom logic to curate the feed to my liking (based on the feed).

pbardea··on Jack Dorsey, Co-Founder and CEO of Twitter, has been Suspended from his own site
I think it was a reference his first tweet.

(https://twitter.com/jack/status/20)

pbardea··on Images of New MacBook Pro with Magic Toolbar Leaked in MacOS Sierra 10.12.1
It works (kinda) with Karabiner Elements: http://www.jeffgeerling.com/blog/2016/remapping-caps-lock-ke... -- Edit: but it's very nice to see this supported by default :)