HNHacker News
TopNewBestAskShowJobs

devdiary

61 karma · joined January 9, 2021

submissionscomments
devdiary··on Remote shell to a Raspberry Pi at 39,000 ft
No thanks

The original Raspberry announcement about Raspberry Pi Connect

> All devices get remote shell out-of-the-box, and if you use a Wayland compositor, such as Wayfire, you can also share your screen. In practice, this means you can use screen sharing with Raspberry Pi 4 and later models, and remote shell with all models of Raspberry Pi, even the oldest.

Now I have another task to purge this out of my pi.

devdiary··on Ask HN: What metrics you track as an Engineering Manager
And how do you measure the api latency? Any do's and dont's you have learned related to this metrics?
devdiary··on Should I use JWTs for authentication tokens?
Start with usual session based authentication. Keep it until you see the absolute need to move to JWT. And make sure you understand JWT and "invalidating JWT" before using it - https://github.com/gitcommitshow/auth-jwt?tab=readme-ov-file...
devdiary··on Lessons after a Half-billion GPT Tokens
> at the end of the day prompts are just a API call and it's easier to write standard code that treats LLM calls as a flaky API call

They are also dull (higher latency for same resources) APIs if you're self-hosting LLM. Special attention needed to plan the capacity.

devdiary··on A day in the life of a Walmart manager
Do not understand your comment. What are you trying to say?
devdiary··on A day in the life of a Walmart manager
thank you for sharing the archive link. Didn't know it is possible to archive a non-public/paywalled content.
devdiary··on A day in the life of a Walmart manager
How come a paywalled content gets to the top of the HN front-page?
devdiary··on Show HN: Stanchion – Column-oriented tables in SQLite
Can you ELI5, how did you make this possible? I see the readme asking to download a binary and then also mentioning sqlite extension. I have never had exp with sqlite ext, so not quite sure how do they work. Appreciate how does this solution work under the hood.
devdiary··on Queues don't fix overload (2014)
And this understanding is extremely important when you are working on rate limiting. Instead of controlling the rate of requests, one must control the number of concurrent requests - https://docs.fluxninja.com/concepts/concurrency-limiter

Throughput (number of requests processed) is different from capacity (number of requests that can be handled). Managing capacity is more practical and optimum solution than managing the throughput

devdiary··on Losing my son
Thank you for writing this
devdiary··on My Knowledge Lakehouse
I use the similar kind of structure in Developer Diary. I do it completely offline, no sync.
devdiary··on Ask HN: Good resources to plan the right plugin architecture
And yes, specifically talking about plugin based architecture. Not just a code refactor. Decoupling is the first step and the plugins will be created by internal team initially, the next will be to ensure security when external users publish their own plugins. The tech stack is Node.js.
devdiary··on Ask HN: Why is my web server being attacked?
I also face the same and I have set policy to ban such traffic by IP. Qq: How do you know the IP is forged?
devdiary··on Stable Video Diffusion
A default glitch effect in the video can make the distortions a "feature not a bug"
devdiary··on What I learned getting acquired by Google
The acquisition seems to be old, Y2019. I am not sure if you wrote this blog just now or had written earlier and published now. How have your perspective changed about the decision to get acquired since 2019, if it did?
devdiary··on Humane AI Pin
I doubt it will be a huge success but this sparks interesting thoughts - how to put all these things on such a tiny board and power it up with a tiny Li battery. How to build it at home? FEMTO-ITX seems like the smallest motherboard to get started with. Is there a better/smaller alternative?
devdiary··on NVMe SSD boot with the Raspberry Pi 5
The plan to turn Pi into NAS moves to the top priority again!
devdiary··on BeagleV-Ahead open-source RISC-V single board computer
Thank you for sending me down the rabbithole of RISC :)
devdiary··on Show HN: Tiny Code Improver
how do you deal with token limitation? What is the maximus size of codebase it can work on?
devdiary··on Anything can be a message queue if you use it wrongly enough
Been there, done that
devdiary··on Show HN: Submit ChatGPT prompts on a web page to mutate the same web page
Amazing experience. Can't wait to see when this hits 1.0. What are the ways to avoid hitting the token limit?
devdiary··on Can open-source models replace ChatGPT?
It is not a question of "can" but "when"
devdiary··on Transparent telemetry for open-source projects
While this articles point out all the right explanation on why telemetry is needed and how it can be made little more transparent by Go toolchain acting as intermediary and publishing the telemetry data publicly, it fails to point out the disadvantages/risks of such system. At the core, the issue is about trust and the user not having any incentive.
devdiary··on Open-source tool to simplify ML model deployment
Had seen dvc almost 2 yrs ago. Is it enterprise offering of the same?
devdiary··on Show HN: ClickHouse-local – a small tool for serverless data analytics
So cool. Similarly, can we also build clickhouse-remote?
devdiary··on Not Getting Hacked
That's what I meant to say - don't put your critical services passwords in one cloud password manager
devdiary··on Not Getting Hacked
Using "password manager for everything" comes with a critical disadvantages of making the pass mgr a single point of failure, increasing attack surface area. Take an example of recent Lastpass breach, I am pretty sure it will lead to hacking almost all services for some Lastpass users. Although Lastpass is saying - don't worry, your passwords are encrypted with your master password and it will take million yrs to crack them. No, it won't take even a month/day to crack master password of many of those users. You're overestimating people's ability to create strong master password and the efforts needed in cracking a password.

I'd rather be very specific in suggesting password managers, use them only for non-critical services.

devdiary··on TIL: Inversion of control to decouple the task execution from implementation
Still learning. Anyone wants to attempt - Explain like im5 for this?
devdiary··on Ask HN: Many SaaS tools does your website use and for what
Interesting. What exactly do you mean by"concentration"?
devdiary··on Traditional Customer Data Platforms have failed, time for headless CDP now
What are your thoughts on the idea and the architecture presented in the article? Will headless CDP drive similar impact that headless CMS have brought?
Page 1 of 2Next →