Better HN
topnewbestaskshowjobs
Log inSign up

sylvain_kerkour

1,277 karma · joined Apr 18, 2020 (6y ago) · 272 submissions

(Ab)using technology for fun & profit. https://kerkour.com
Submissions

1.

Show HN: Pingoo – A reverse proxy with built-in WAF and bot protection (in Rust)(github.com ↗)

17 points · by sylvain_kerkour · 1y ago · 1 comment

2.

ChaCha20-BLAKE3: A fast and secure Stream/AEAD encryption cipher(kerkour.com ↗)

2 points · by sylvain_kerkour · 2y ago · 2 comments

comment 3y ago · link · parent

One word: Alignment.

It's a Buddhist concept that says that to achieve tranquility (end of suffering) you need to have what you value, what you think and what you are actually doing aligned and going in the same direction.

When you're feeling lost, ask yourself these 3 questions:

- What do you really want?

- What do you really value?

- What are you really doing with your life?

I've wrote a longer post that you can read here: https://kerkour.com/alignment

comment 3y ago · link · parent

At the end of the day, what really matters for most people is

1) Certifications (FIPS...)

2) Speed.

SHA-256 is fast enough for maybe 99,9% of use cases as you will saturate your I/O way before SHA-256 becomes your bottleneck[0][1]. Also, from my experience with the different available implementations, SHA-256 is up to 1.8 times faster than Blake3 on arm64.

[0] https://github.com/skerkour/go-benchmarks/blob/main/results/...

[1] https://kerkour.com/fast-hashing-algorithms

comment 3y ago · link · parent

Honestly? I believe that the new hype of Server Side Rendering (SSR) frameworks is only a matter of vendor lock-in: when you have SSR, you *NEED* edge rendering, which only a few vendors can provide today.

Single Page Applications (SPA) are totally fine. My blog is an SPA (https://kerkour.com) and has no problem being indexed by the major search engines.

It's actually way faster than most webapps using new shiny new SSR frameworks as I can cache with precision the different chunks/assets.

Finally, everything is served from a server than barely uses more than 50 MB of RAM even under high load. Last time I looked, Next apps needed around 500MB-1GB of RAM to serve only a few visitors.

comment 3y ago · link · parent

Hey,

I've wrote a few books (https://kerkour.com/books) with only markdown, https://excalidraw.com and https://figma.com

I've detailed my complete setup and shared the Dockerfile that I use to convert the markdown into ebooks (EPUB, PDF and Kindle) on my blog: https://kerkour.com/book-self-publishing-pandoc

7.

96 Hours left to get Black hat Rust for free(kerkour.com ↗)

4 points · by sylvain_kerkour · 3y ago · discuss

8.

Redbean – Single-file distributable web server (with embedded Lua and SQLite)(justine.lol ↗)

55 points · by sylvain_kerkour · 3y ago · 12 comments

9.

Show HN: I'm writing a book – Cloudflare for Speed and Security(kerkour.com ↗)

20 points · by sylvain_kerkour · 3y ago · 2 comments

comment 3y ago · link · parent

Great to finally see this here! Cloudflare is the 4th major cloud platform that (almost) nobody is seeing coming, and I believe that they will even surpass Google Cloud Platform's sooner than expected.

The only problem that remains is their support...

I'm writing a book about Cloudflare (launching very soon) where I share this and many other things to scale faster all while saving big on your cloud bills. You can join the waiting list here: https://kerkour.com/subscribe

comment 3y ago · link · parent

Great work, but I'm note sure it will be enough. Rust crates are insecure by design and we need to face it. Here are at least 8 methods to backdoor Rust crates https://kerkour.com/rust-crate-backdoor

Blocking macros might be, in my opinion, one of the best defense that you can have today.

12.

How to bypass Cloudflare and how to protect your websites(kerkour.com ↗)

5 points · by sylvain_kerkour · 3y ago · 1 comment

13.

The best place on Region: Earth for Inference(blog.cloudflare.com ↗)

4 points · by sylvain_kerkour · 3y ago · discuss

14.

The tech companies scanning your face while you shop (Project Pegasus)(telegraph.co.uk ↗)

4 points · by sylvain_kerkour · 3y ago · discuss

15.

There's an Alternative to the Infinite Scroll(wired.com ↗)

14 points · by sylvain_kerkour · 3y ago · 13 comments

16.

On Ashton Kutcher and Secure Multi-Party Computation(blog.cryptographyengineering.com ↗)

3 points · by sylvain_kerkour · 3y ago · discuss

17.

Flipper-Xtreme-Firmware: Give your Flipper Zero the power it is craving(github.com ↗)

15 points · by sylvain_kerkour · 3y ago · 4 comments

18.

Zero Knowledge Proofs: An illustrated primer(blog.cryptographyengineering.com ↗)

4 points · by sylvain_kerkour · 3y ago · discuss

19.

Backdooring Electron Applications(text.tchncs.de ↗)

4 points · by sylvain_kerkour · 3y ago · discuss

20.

Preliminary Assessment of Digital Euro(blog.lukaszolejnik.com ↗)

3 points · by sylvain_kerkour · 3y ago · discuss

comment 3y ago · link · parent

Neurotechnology is coming way faster than most people expect, especially with AR/VR headsets (EEG) and wristbands with electrodes (EMG), which are pushed hard by Meta, Apple & co.

I wrote a few notes about it: https://kerkour.com/nobody-cares-about-the-metaverse-neurote...

22.

O.mg Cable(shop.hak5.org ↗)

3 points · by sylvain_kerkour · 3y ago · discuss

23.

The unreasonable effectiveness of just showing up everyday(typesense.org ↗)

3 points · by sylvain_kerkour · 3y ago · discuss

comment 3y ago · link · parent

The best way I have found to prevent the piracy of my book (https://kerkour.com/black-hat-rust) is to inundate pirate platforms with only the first chapter and with a discount code inside for those who can't afford the original price.

My hypothesis is that if they enjoyed the first chapter, most people would want to support my work instead of being freeriders.

So far it worked really well.

Thinking that you can prevent bits flowing from internet is delusional, it's better to think about how to align incentives.

25.

Changes to Postmark’s Pricing in 2023(postmarkapp.com ↗)

2 points · by sylvain_kerkour · 3y ago · 1 comment

26.

Where can I buy DRM-free ebooks?(libreture.com ↗)

3 points · by sylvain_kerkour · 4y ago · discuss

27.

The E-Book Wars(npr.org ↗)

4 points · by sylvain_kerkour · 4y ago · discuss

12345
10