Better HN
topnewbestaskshowjobs
Log inSign up

dogacel

130 karma · joined Jun 1, 2024 (2y ago) · 39 submissions

Submissions

1.

Show HN: Auto GPU Kernel – Autonomous GPU-kernel discovery and optimizer(github.com ↗)

1 points · by dogacel · 6mo ago · discuss

2.

Agent Blog: Your AI Agent's Own Technical Blog(dogacel.github.io ↗)

2 points · by dogacel · 8mo ago · discuss

3.

Framing an LLM as a safety researcher changes its language, not its judgement(lab.fukami.eu ↗)

1 points · by dogacel · 9mo ago · discuss

4.

Training language models on TPUs shouldn't be scary(dogac.dev ↗)

3 points · by dogacel · 9mo ago · discuss

5.

Show HN: Universal DeepSeek OCR 2 – CPU, MPS, CUDA Support(github.com ↗)

2 points · by dogacel · 10mo ago · discuss

6.

Show HN: DeepSeek-OCR with MPS and CPU Support(twitter.com ↗)

3 points · by dogacel · 1y ago · discuss

7.

AI can do a better job of persuading people than we do(technologyreview.com ↗)

3 points · by dogacel · 1y ago · discuss

comment 1y ago · link · parent

I think the title should change as

"AI models hallucinate less than AI company executives"

comment 1y ago · link · parent

I recently discovered them, it is pretty cool. I really wish we could use it for our business workflows.

Also check https://conductor-oss.org/

10.

Rethinking Modern Asynchronous Paradigms(blog.dogac.dev ↗)

1 points · by dogacel · 1y ago · discuss

11.

Writing at the Speed of Thought [video](youtube.com ↗)

1 points · by dogacel · 1y ago · discuss

comment 1y ago · link · parent

What is the expected cost of running those tests? I think it would be a good argument to compare this to running cost of unit / integration tests for a function (based on action runners).

If it is so expensive, it can be distributed as a simple GitHub integration / action that runs perodically, what do you think?

Also see, https://dl.acm.org/doi/abs/10.1145/3663529.3664458

13.

Adopting SLI/SLO for improving reliability(techblog.lycorp.co.jp ↗)

2 points · by dogacel · 1y ago · discuss

14.

What to Write (2024)(endler.dev ↗)

4 points · by dogacel · 1y ago · discuss

comment 1y ago · link · parent

> A counter that can be synchronized on demand is kinda superfluous --- not really secret and not terribly relevant either. All else being equal, an attacker can sync up just as easily as a legitimate client so why bother with the counter?

A unique counter for each authorization attempt ensures the resulting key is different for each attempt, which makes replay attacks not possible. I agree if you sync the counter two ways, it is better to use a "nonce", a totally random secret each time.

comment 1y ago · link · parent

Why counter is the shared secret? In TOTP time is the counter and it is obviously not secret, so there is no reason to think the counter would be secret as well. Clients can sync their counter to match the server.

comment 1y ago · link · parent

Client and server can potentially agree on the counter with a handshake.

comment 1y ago · link · parent

Some banks in Switzerland give customers a device that generates TOTP codes.

comment 1y ago · link · parent

No, RSA is asymetric, where it has a public/private key pair.

HMAC is symetric, it only has a secret and it can be used to hash values one-way.

comment 1y ago · link · parent

Agree and disagree,

Deciding on how to store the credentials is still a hard task. Even storing the secret. Ideally it shouldn't stay as a plain text in your database. If you use cloud, something like KMS can be used for additional security. Also you should still consider replay attacks, rate limits etc.

I agree in the sense that TOTP is hard to implement, no it is not. I hope this article helped people understand how TOTP works.

comment 1y ago · link · parent

Hashing is done before storing the secret on the server side. Therefore they still need to communicate regarding the intial secret.

comment 1y ago · link · parent

Even though QR codes are standardized, the original RFCs do not use QR codes. That's what I tried to mean, you can't find apps that use plain-text secrets.

comment 1y ago · link · parent

I also don't use email subscriptions, unless it is my favorite person. But I don't know how many of them are subscribed via RSS.

comment 1y ago · link · parent

Clicking anywhere else discards it.

I have removed the popup anyway, seems like most people don't like it.

comment 1y ago · link · parent

Nope not AI generated, I have used excalidraw. Only the cover page is AI generated.

Clock drawing was an asset, I didn't really spent time trying to match the time on clock to the time mentioned by the actors.

comment 1y ago · link · parent

I see, I have removed the popup.

comment 1y ago · link · parent

Two different flows, an online and an offline.

TOTP devices can be powered offline, which makes it extra secure, as you don't transfer any data around, possibility of leaking it is extremely low.

Random numbers could only work in online flow, where server sends you a one-time code using a secure communication method, such as a trusted phone number or email address.

comment 1y ago · link · parent

I haven't mentioned MITM attacks in this article thoroughly. Can you give some examples on what authentication implementations carry a MITM risk?

I thought anything carried over SSL doesn't have a _significant_ MITM risk.

comment 1y ago · link · parent

A simple click on a random place on screen should discard it. I wanted to connect with my readers so I have added that subscribe popup recently. As I have figured nobody subscribed to my newsletter yet :(

Let me know if it doesn't work. Also would be glad if you can give browser / platform.

12