HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mahmoudimus

no profile record

Submissions

Show HN: A header-only C++20 compile-time assembler for x86/x64 instructions

github.com
2 points·by mahmoudimus·6 miesięcy temu·0 comments

comments

mahmoudimus
·w zeszłym miesiącu·discuss
They charge a surcharge when you pay by card, don't they?
mahmoudimus
·2 miesiące temu·discuss
can knowledge then be queried via tool? :)
mahmoudimus
·2 miesiące temu·discuss
works for me:

input: i need to contact my boss i will be late. output: [{"name":"send_email","arguments":{"to":"[email protected]","subject":"Running late","body":"I will be late for the meeting."}}]

it did have the send_email tool on the left hand side though
mahmoudimus
·3 miesiące temu·discuss
oh fascinating. i just finished reverse engineering Aegis and now working on their newest Eidolon. pretty cool technology.
mahmoudimus
·4 miesiące temu·discuss
Seconding Mullvad. I am paranoid and I think they're trustworthy
mahmoudimus
·5 miesięcy temu·discuss
I see the vision here. I think this is extremely needed.
mahmoudimus
·5 miesięcy temu·discuss
I think you're referring to this one: https://github.com/jhjourdan/C11parser
mahmoudimus
·7 miesięcy temu·discuss
Windows ARM builds are available on their CDN.
mahmoudimus
·2 lata temu·discuss
We solved this by introducing a Result library.

  load("@.../result", result=result)

  
  def throw(arg):
      return 1/0
  if result.Result(throw).map(arg).is_ok:
     # proceed
  else:
     fail("...")
mahmoudimus
·2 lata temu·discuss
https://github.com/mahmoudimus/py2star
mahmoudimus
·2 lata temu·discuss
I love Starlark. I was a major implementor of it at VGS (the repo is open: https://github.com/verygoodsecurity/starlarky). It had unique distinct features that made it much easier to control and sandbox than many other languages out there.

I even built a codemod library that does a very basic python -> starlark so that one can develop using python ecosystem libraries and just copy & paste into a secure execution environment. It was a huge success at my last company.

I'm very thankful to Laurent Le-brun and Alan Donovan -- both of whom are exceptional engineers that I learned so much from. I thought I was skilled but both of those individuals are just on another level.
mahmoudimus
·2 lata temu·discuss
Saw him and Conrad sometime back. RIP MC Conrad. Was bonkers. Great ch00ns :) have fun!
mahmoudimus
·2 lata temu·discuss
Actually, PCI Compliance is largely a solved problem. Use something like https://verygoodsecurity.com and wrap the proxy around Lago and your self hosting will qualify you for the easiest PCI compliance tier.

(Disclosure: I founded Very Good Security & was the CEO for 8 years).
mahmoudimus
·3 lata temu·discuss
Yeah that part is not great. OTOH, I know exactly what it does :)
mahmoudimus
·3 lata temu·discuss
In 2010, I think arguing that relying on the JVM would be an acceptable gripe. However, it is 2023, almost all of your stated issues have been (IMHO quite elegantly) addressed WITH the added benefit (or maybe detriment?) of backwards compatibility in modern versions of Java and the _incredible_ engineering behind the JVM.

I would actually argue the inverse. Between the two languages, Go would be my second choice precisely because it does NOT have the JVM. Even though I have used GraalVM for AOT, with Docker / containerd, I would take the JVM any day. It's just night & day when operating something in production.

That being said, Go still has a lighter resource footprint but I found Go to be a better Python alternative than Java.

Here are some IMHO acceptable gripes with Java:

- Java represents strings using UTF-16 (although there are optimizations introduced in Java9+ already to use LATIN1 / ascii encoding if you don't need to use Unicode)

- Java makes it difficult to have steady state memory consumption (by design)

- Java's escape analysis is primitive

- Java is missing value types (coming soon!)

I think Go is great, but IMHO modern Java is just better at building backend systems.
mahmoudimus
·7 lat temu·discuss
Why can't you just charge the card directly?