Live data from Hacker News

Viewing profile — reza_n

reza_n

HN member
Joined
Tue, Mar 24, 2015, 8:54 PM UTC
HN karma
310
Public activity
100 items

About reza_n

Reza Naghibi https://reza.naghibi.com

I write fast code, fast.

Recent public activity

  1. comment
    Comment #28933054

    You can use `explicit_bzero()` to bypass DCE (dead code elimination). Otherwise, simply initializing your memory before using is enough to trigger magic failures when you use-after…

  2. comment
    Comment #26662226

    Varnish Software | Dev Ops | NYC onsite or US based remote | Full-time Varnish Software is the company behind Varnish Cache, a hugely popular open source caching solution installed…

  3. comment
    Comment #24435567

    Bummer, he pretty much proved he was on the right path with his translation theories. Maybe this was done to protect his work? As in, hes now working to complete the translation an…

  4. comment
    Comment #21885148

    Time and experience. Learning the syntax and wrapping your head around pointers and memory is the first step. After that, just try and write as much C as possible. Help out with pr…

  5. comment
    Comment #21884648

    I write C full time and I love it (Varnish Cache). In our team of about 10 full time C engineers, we spend less than an hour a month dealing with things like “memory safety”. When …

  6. comment
    Comment #21876482

    I wrote something very similar many years ago. I described it as a reverse search index. The queries/regex gets indexed into a search tree and then text is run thru it. It supporte…

  7. comment
    Comment #21693040

    This is a bit on the unsafe side since it blindly trusts user input. At minimum, there needs to be some kind of magic number in the struct header to validate its looking at the rig…

  8. comment
    Comment #20249642

    We have no problem sharing our codebase with customers, especially if there are concerns like this. Shoot me a msg if you are genuinely interested in anything you have read.

  9. comment
    Comment #20242579

    Possibly, but memory is accessed using plain CPU instructions, so it would be hard to transparently encrypt all memory for an application at the kernel level. You do have virtual m…

  10. comment
    Comment #20242457

    Yup. When something goes wrong in these kinds of applications, you sometimes tend to just randomly dump memory, which is a huge data leak. Or even worse, if someone figures out a w…

  11. comment
    Comment #20241942

    Closed source, write up would be here: https://info.varnish-software.com/blog/introducing-varnish-t...

  12. comment
  13. comment
    Comment #20241895

    Yup, we added this feature to Varnish Cache a few years ago, random key encryption. It generates a random key at startup and encrypts all memory with it. Since this kind of memory …

  14. comment
    Comment #19699630

    Edge facilities are warehouses in regional locations with excellent backbone connectivity, basically your modern datacenter. Cellphone towers can probably host a few racks, that's …

  15. comment
    Comment #19363694

    https://hitch-tls.org/

  16. comment
    Comment #19218093

    Exactly. I used to live in a low rise apartment building which used modern wood construction. Not only did I hear everything above me, but the shock waves (from foot strikes) would…

  17. comment
    Comment #18791946

    We are always hiring full time C developers doing exactly what you said. Msg me if you (anyone) is interested.

  18. comment
    Comment #18197862

    If history is any guide, regime change doesn't need to come from within. Many parallels have been drawn to Saddam.

  19. comment
    Comment #18197780

    Believe it or not, US support has made KSA extremely weak, especially militarily. So its more like keep your enemies close, or in this case, oil targets. US could topple KSA in a m…

  20. comment
    Comment #18197324

    > ...Diplomatic murder, women's rights arrests, Yemen war, Canada row, royal imprisonmemt... There is also the failed blockade of Qatar. Seems like this has been a pretty disastrou…

  21. comment
  22. comment
    Comment #17443999

    True, and I meant this in the context where you could embed assembly into your functions if needed.

  23. comment
    Comment #17442914

    Varnish Software | Frontend Developer | New York City or Oslo, Norway Varnish Software is the company behind Varnish Cache. Varnish Software works with top global enterprises helpi…

  24. comment
    Comment #17442491

    > C aficionados often claim they love C because it's "simple"(it isn't) That's what they mean, they love C because you can't really do OO with it I do not think C programmers are a…

  25. story