News for hackers. Stuff that matters.

devdiary

Re:Remote shell to a Raspberry Pi at 39,000 ft on Wednesday June 26, 2024 @07:01AM (#40798567)
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.

And how do you measure the api latency? Any do's and dont's you have learned related to this metrics?
Re:Should I Use jwts For Authentication Tokens? on Tuesday May 28, 2024 @01:16AM (#40497535)
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...
Re:Lessons after a Half-billion GPT Tokens on Sunday April 14, 2024 @01:19PM (#40032648)
> 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.

Do not understand your comment. What are you trying to say?
thank you for sharing the archive link. Didn't know it is possible to archive a non-public/paywalled content.
How come a paywalled content gets to the top of the HN front-page?
Re:Show HN: Stanchion โ€“ Column-oriented tables in SQLite on Thursday February 01, 2024 @11:04PM (#39224878)
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.
Re:Queues don't fix overload (2014) on Friday January 19, 2024 @12:05AM (#39051758)
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

Re:Losing my son on Thursday January 18, 2024 @11:36AM (#39043889)
Thank you for writing this
Re:Introducing My Knowledge Lakehouse on Sunday January 14, 2024 @10:22PM (#38997115)
I use the similar kind of structure in Developer Diary. I do it completely offline, no sync.
Re:Ask HN: Good resources to plan the right plugin architecture on Wednesday December 27, 2023 @10:41PM (#38789754)
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.

Ask HN: Good resources to plan the right plugin architecture

I am seeking solution to plan architecture to support new addon that can enhance the value of an existing web app. In current form, the solution is npm packages. We build npm packages that use the product's SDK to interact with its api but when we also want to have a ui component, it becomes a circular dependency. Also there are multiple common components copied across various packages that are...

( Read More... | 1 comment | 2 points | on HN )
Re:Ask HN: Why is my web server being attacked? on Wednesday December 27, 2023 @02:46PM (#38785776)
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?
Re:Stable Video Diffusion on Wednesday November 22, 2023 @02:10AM (#38375900)
A default glitch effect in the video can make the distortions a "feature not a bug"

Ask HN: What would you ask an LLM powered code search engine?

I'm struggling to understand the value of LLM powered code search engine (there are quite a few that have come up in the last 1 yr). Help me with your answers if you see any value of such engines in searching your internal codebase and docs, what would be the number one question that you'd ask?If you have tried any already, would love to hear your experience as well.

( Read More... | no comments | 2 points | on HN )
Re:What I learned getting acquired by Google on Friday November 10, 2023 @05:28AM (#38217202)
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?
Re:Link-Time Optimisation (LTO) on Friday November 10, 2023 @04:04AM (#38216688)
Ah, I read it "Think-time" optimization and my overthinking mind already imagined the outline of the article. But then...
Re:Humane AI Pin on Friday November 10, 2023 @03:40AM (#38216555)
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?
Re:NVMe SSD boot with the Raspberry Pi 5 on Sunday October 22, 2023 @08:34AM (#37974798)
The plan to turn Pi into NAS moves to the top priority again!
Re:BeagleV-Ahead open-source RISC-V single board computer on Sunday October 15, 2023 @08:19AM (#37889145)
Thank you for sending me down the rabbithole of RISC :)
Re:Show HN: Tiny Code Improver on Sunday June 04, 2023 @01:28PM (#36187505)
how do you deal with token limitation? What is the maximus size of codebase it can work on?
Been there, done that
Amazing experience. Can't wait to see when this hits 1.0. What are the ways to avoid hitting the token limit?
Re:Can open-source models replace ChatGPT? on Tuesday May 09, 2023 @02:16AM (#35870760)
It is not a question of "can" but "when"
Re:Transparent Telemetry for Open-Source Projects on Wednesday February 08, 2023 @08:49PM (#34718690)
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.
Re:Open-source tool to simplify ML model deployment on Sunday January 22, 2023 @11:43AM (#34479165)
Had seen dvc almost 2 yrs ago. Is it enterprise offering of the same?

Older ยป