HNHacker News
TopNewBestAskShowJobs

sylvain_kerkour

1,277 karma · joined April 18, 2020

(Ab)using technology for fun & profit. https://kerkour.com
submissionscomments
sylvain_kerkour··on Rust for web development: 2 years later
Thank you! No preview is available today (I don't have enough bandwidth available) but it's on my todo list.

Please feel free to subscribe to the newsletter where I will announce when it's available :) https://kerkour.com/subscribe

sylvain_kerkour··on Rust for web development: 2 years later
Never heard about that before but I will dig the matter for sure.

That being said I'm sure that rustaceans disagree about the "No Silver Bullet" part (when you can compile to WebAssembly, write HTTP / TCP servers, embedded development and much more).

sylvain_kerkour··on Rust for web development: 2 years later
Hey, I updated to specify that I'm specifically talking about JSON APIs.
sylvain_kerkour··on Rust for web development: 2 years later
I sincerely believe that Rust is here to stay!
sylvain_kerkour··on Rust for web development: 2 years later
Hey author here, I Would love to know why :)
sylvain_kerkour··on Bloom: The simplest way to de-Google your life
Creator here, Indeed https://kerkour.com is not only about Bloom but it's the blog where I will share all the updates about the project. You can find the motivation behind the project here https://kerkour.com/blog/bloom-a-free-and-open-source-google
sylvain_kerkour··on Bloom: The simplest way to de-Google your life
Creator here, Thank you!
sylvain_kerkour··on The unusual way I'm funding my open source work
No no, I actually made enough money from the early-access sales to work on it full-time for the coming months :)
sylvain_kerkour··on The unusual way I'm funding my open source work
No no, I actually made enough money from the early-access sales to work on it full-time for the coming months :)
sylvain_kerkour··on The unusual way I'm funding my open source work
It's extremely hard to tell. As iainctduncan said I will need to do some A/B testing.

I believe that more than 100 books a month will be enough to make a comfortable living.

sylvain_kerkour··on The unusual way I'm funding my open source work
Here is a coupon to save 23€ on the book :) https://academy.kerkour.com/black-hat-rust?coupon=HACKERNEWS...
sylvain_kerkour··on The unusual way I'm funding my open source work
Thank you, you are absolutely right and this is the good mentality to approach the issue! I will do it as soon as I have more bandwidth available.
sylvain_kerkour··on The unusual way I'm funding my open source work
Thanks! Indeed it's less lucrative than freelancing or working in a big company, but so far the experience is so enjoyable that the ride worth it :)
sylvain_kerkour··on The unusual way I'm funding my open source work
For sure! I will send the chapters to all early access buyers as soon as they are available. Please remember that chapters could be updated even after their initial publication according to the feedback I will receive.
sylvain_kerkour··on The unusual way I'm funding my open source work
I really appreciate this kind of feedback, because a lot of people will think that but won't bother leaving a comment and I will never be aware. Thank you!

Today it makes no sense to reduce the price of the book because of the niche topic covered and my small audience, but for sure I will re-evaluate it later.

sylvain_kerkour··on The unusual way I'm funding my open source work
Hey, I have to admit that I moderately appreciate being compared to the content marketing crowd but still appreciate the kind words :)

Yes, my ability to pay the rent is directly related to the number of books I sell.

That being said, I thought it was worth sharing because a lot of people think they can't make a living writing Open Source code. I hope to change their mind and give them ideas to take the leap.

Edit: rephrasing

sylvain_kerkour··on The unusual way I'm funding my open source work
Yes! As this is a rarely discussed topic, I thought it was worth sharing :)
sylvain_kerkour··on The unusual way I'm funding my open source work
Hey HN,

Funding Open Source is a hot topic here and after more than one year of full-time work without being paid I have finally achieved (a little bit more than) ramen profitability.

I'm happy to answer any question.

sylvain_kerkour··on The unusual way I'm funding my open source work
Thank you!
sylvain_kerkour··on Show HN: Black Hat Rust – I'm writing a book about offensive security with Rust
Hey HN, With all the recent hacks breaking the news, I thought that there is still clearly a lack of knowledge about how cyber attacks are performed.

In the book we will put ourselves in the shoes of attackers. From theory to practice, we will explore the arcane of offensive security and build our own offensive tools from scratch in Rust: scanners, phishing toolkit, shellcodes, advanced RAT...

Here is the accompanying GitHub repository: https://github.com/skerkour/black-hat-rust

Important: This is work in progress, feedback is welcome :)

In order to thank all the people who will help me make this book a reality by buying it in early access, I prepared a special bonus: a curated list of detailed analyses of the most advanced malwares of the past two decades. You will find inside great inspiration when developing your own offensive tools.

Edit: I Added a coupon for people hearing about the book here to save 10€: https://academy.kerkour.com/black-hat-rust?coupon=HACKERNEWS

sylvain_kerkour··on Show HN: Black Hat Rust – I'm writing a book about offensive security with Rust
Hey HN, With all the recent hacks breaking the news, I thought that there is still clearly a lack of knowledge about how cyber attacks are performed.

In the book we will put ourselves in the shoes of attackers. From theory to practice, we will explore the arcane of offensive security and build our own offensive tools from scratch in Rust: scanners, phishing toolkit, shellcodes, advanced RAT...

Here is the accompanying GitHub repository: https://github.com/skerkour/black-hat-rust

Important: This is work in progress, feedback is welcome :)

In order to thank all the people who will help me make this book a reality by buying it in early access, I prepared a special bonus: a curated list of detailed analyses of the most advanced malwares of the past two decades. You will find inside great inspiration when developing your own offensive tools.

Edit: I Added a coupon for people hearing about the book here to save 10€: https://academy.kerkour.com/black-hat-rust?coupon=HACKERNEWS

sylvain_kerkour··on Ask HN: Who wants to be hired? (February 2021)
Location: Europe (GMT timezone)

Remote: Yes (exclusively)

Technologies: Go, Rust, VueJS, Typescript, VueJS

GitHub: https://github.com/skerkour

Blog: https://kerkour.com

Résumé/CV: Upon request

Email: sylvain.kerkour at gmail.com

----------------------------

After an attempt to launch my startup, I'm now looking for new technical challenges and to help make other people's lives better at the same time.

In the past years I have designed and implemented a Machine Learning service (automatic product recognition), an end-to-end encrypted app, a security automation platform and APIs / Single page apps.

I love open source and manage a moderately successful newsletter about it: https://kerkour.com

----------------------------

How can I help you?

sylvain_kerkour··on We Crush, Poison, and Destroy Insects at Our Own Peril
Because the website seems down: https://web.archive.org/web/20210125095633/http://nautil.us/...
sylvain_kerkour··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
The problem I had with KSUID is that they have a custom format, so not optimised in Postgres, while ULIDs are fully interoperable with other kinds of UUIDs. So if your requirements change later, it's just a change to the function generating your UIDs.

Also I don't use monotonic generators, because in pratice, in my applications, it never make business sense to sort entities with a greater granularity than a millisecond, so even if I generate 10 entities' IDs in a millisecond, I will let the random part randomly sort the entities generated during this millisecond.

Monotonic generators, are in my opinion only useful when you require absolute ordering, like with events, and thus rarely are a concern.

sylvain_kerkour··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
Is there any reasons to prefer BIGINT instead of UUID (other than the very few % of performance, which may never be a problem)?

I just find instagram's ID complex (custom epoch, mandatory use of RETURNING) while Ulid is elegant (easy to generate and use).

For me the biggest selling point was the interoperability with other kinds of UIDs, if later your requirements change.

Also, note that (at least in Rust) Ulid are implemented as u128, so are pretty fast.

sylvain_kerkour··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
After a lot of time spent investigating the different kind of (U)UIDs, I've come to the conclusion that ULIDs[0] are the best kind of (U)UIDs you can use for your application today:

* they are sortable so pagination is fast and easy.

* they can be represented as UUID in database (at least in Postgres).

* they are kind of serial, so insertion into indexes is rather good, as opposed to completely random UUIDs.

* 48 bits timestamp gives enough space for the next 9000 years.

[0] https://github.com/ulid/spec

sylvain_kerkour··on Show HN: Sonyflake – distributed unique ID generator implemented in Rust
Not exactly, They can be sorted, by default, only down to a millisecond, but you can use a monotonic generator to have them sorted, even if more than one Ulid is generated within a millisecond.

Other than that, they have 80 bits of randomness, enough to be unique even if millions are generated per second.

https://github.com/ulid/spec

sylvain_kerkour··on No Country for Old Developers
Young people are mainly more easily influenced.

It's far easier to convince a young person without a family nor passion in life to work for 12 hours a day for little money rather than experienced people.

It's also far easier to sell hyped, useless technological solutions to young, non-experienced people who don't understand the problem to solve.

I say this as a young developer who took too much time to recover from the marketing hype maintained by money seeking vendors.

sylvain_kerkour··on The Messaging Layer Security (MLS) Protocol
It solves the scalability issues of current generation key distribution algorithms.

In my opinion the best article about it is: https://blog.trailofbits.com/2019/08/06/better-encrypted-gro...

sylvain_kerkour··on DahliaOS operating system, combining the best of GNU/Linux and Fuchsia OS
Hi, even if it's very early, congrats for starting such an ambitious project!

Instead of aiming the moon today, I may suggest to focus on only one thing and do it very well now.

My suggestion is to target mobile / desktop (convergent) linux. The story today is not good, and you seems to have achieved some interesting things with your UI shell that may take years to achieve with the usual linux technologies: Gnome or KDE.

You may even be able to quickly make a business by selling pre-flashed linux devices like raspberry pis, pinephones, pinebooks... with your beautiful and easy to use UI.

← PreviousPage 3 of 5Next →